package org.jjj.user.mapper;

import org.jjj.user.domain.User;
import org.jjj.basic.mapper.IBaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jiangjianjun
 * @since 2022-11-15
 */
public interface UserMapper extends IBaseMapper<User> {
    /**
     * 根据用户名查询数据
     * @param username
     * @return
     */
    User selectByUsername(String username);

    /**
     * 根据手机号查询用户信息
     * @param mobile
     * @return
     */

    User getUserByPhone(String mobile);
}
